import {defineComponent} from 'vue'
export default defineComponent({
    name:'Child',
    props:{
        message:String
    },
    data(){
        return {
            count:0
        }
    },
    render(){
        return (
            <div>
                <p>Child:{this.message}</p>
                <p>{this.count}</p>
                <button onClick={()=>this.count++}>+</button>
            </div>
        )
    }
})